home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
Inventor
/
ivfix.z
/
ivfix
Wrap
Text File
|
1998-10-30
|
4KB
|
133 lines
IIIIVVVVFFFFIIIIXXXX((((1111))))
NNNNAAAAMMMMEEEE
ivfix - restructures an Inventor object for improved rendering
performance
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
iiiivvvvffffiiiixxxx [ ----aaaahhhhnnnnttttvvvvVVVV ] [ ----dddd dir ] [infile] [outfile]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_i_v_f_i_x reads an Inventor object and restructures it to improve the
object's rendering performance. _i_v_f_i_x processes the scene graph in two
phases:
Phase 1)
Analyzes the organization of the input scene graph, and tries to
sort it a better way to take advantage of coherence. For example, it
tries to organize subgraphs by common textures, since switching
textures is expensive. Once sorted, it also tries to combine
subgraphs so that the final result has fewer nodes.
Phase 2)
"Flattens" the subgraphs that result from the first phase. This
tessellates all shapes into triangles that are then organized into
triangle strips. For example, two spheres may be combined into one
triangle strip.
WWWWaaaarrrrnnnniiiinnnngggg!!!! _i_v_f_i_x does not try to preserve any non-appearance attributes,
such as names. It will also remove most engines, animation nodes, and
field-to-field connections. _i_v_f_i_x is best run on individual objects, not
on entire scenes. When rendered, the output object will be equivalent to
the original file, but much of the object hierarchy will be lost.
Note also that the output file may be larger than the input file. For
example, a sphere node will be converted into triangle strips.
The following command line options are allowed:
----aaaa Write an ASCII file. The output file is binary by default.
----dddd ddddiiiirrrr
Add _d_i_r to the list of directories to search, e.g. for file nodes.
----hhhh Print the usage message.
----nnnn Do not generate any normals.
----pppp ivfix usually tries to define properties as SoVertexProperty nodes.
This option prevents that.
----tttt Do not generate any texture coordinates.
Page 1 Release 6.5 August 1991
IIIIVVVVFFFFIIIIXXXX((((1111))))
----vvvv (Verbose) Display status information during processing.
----VVVV (Very verbose) Display more detailed status information.
SSSSOOOOUUUURRRRCCCCEEEE CCCCOOOODDDDEEEE
Note that the source code to _i_v_f_i_x comes with the _O_p_e_n _I_n_v_e_n_t_o_r _3_d
_T_o_o_l_k_i_t.
FFFFIIIILLLLEEEESSSS
/usr/share/data/models/* - Sample 3D data files
/usr/share/src/Inventor/tools/ivfix/* - Source to ivfix
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
iiiivvvvffffiiiixxxx <<<< sssslllloooowwwwOOOObbbbjjjjeeeecccctttt....iiiivvvv >>>> qqqquuuuiiiicccckkkkOOOObbbbjjjjeeeecccctttt....iiiivvvv
SSSSEEEEEEEE AAAALLLLSSSSOOOO
inventor, ivview, ivcat, ivinfo, SceneViewer, gview, drop, maze, noodle,
revo, showcase, textomatic
KKKKNNNNOOOOWWWWNNNN BBBBUUUUGGGGSSSS
Ignore flags are not properly handled.
Page 2 Release 6.5 August 1991